package oa.hleast.xswl.pojo.vo.clockin;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * ums_clock_in
 *
 * @author
 */
@ApiModel(value = "com.UmsClockIn用户打卡关联表")
@Data
public class UmsClockInVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /**
     * 打卡来源
     */
    @ApiModelProperty(value = "打卡来源")
    private String sourceType;

    /**
     * 场所ID
     */
    @ApiModelProperty(value = "场所ID")
    private Long placeInfoId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    // @JsonSerialize(using = Date2TsStrSerializer.class)
    private Date gmtCreate;

    /**
     * 格式化创建时间
     */
    @ApiModelProperty(value = "格式化创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date gmtCreateDate;

    /**
     * 经度
     */
    private BigDecimal longitude;

    /**
     * 纬度
     */
    private BigDecimal latitude;

}